package indi.woniu.service.impl;

import indi.woniu.entity.Answer;
import indi.woniu.mapper.AnswerDao;
import indi.woniu.service.AnswerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AnswerServiceImpl implements AnswerService {
    @Autowired(required = false)
    private AnswerDao answerDao;
    @Override
    public List<Answer> findAll() {
        return answerDao.findAll();
    }
}
